package com.hrb.douban.network;

import com.hrb.commonsdk.okhttp.CommonOkHttpClient;
import com.hrb.commonsdk.okhttp.listener.DisposeDataHandle;
import com.hrb.commonsdk.okhttp.listener.DisposeDataListener;
import com.hrb.commonsdk.okhttp.request.CommonRequest;
import com.hrb.commonsdk.okhttp.request.RequestParams;
public class RequestCenter {
    public static void getRequest(String url, RequestParams params, Class<?> clazz ,DisposeDataListener listener) {
        CommonOkHttpClient.get(CommonRequest.createGetRequest(url, params), new DisposeDataHandle(listener,clazz));
    }

}
